/*
 * Copyright (C) 2009 Ionut Dediu <deionut@yahoo.com>
 *
 * Licensed under the GNU General Public License Version 2
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

// SmartCamDocument.cpp

#include "SmartCamAppUi.h"
#include "SmartCamDocument.h"

// ============================ MEMBER FUNCTIONS ===============================

CSmartCamDocument* CSmartCamDocument::NewL( CEikApplication& aApp )
	{
	CSmartCamDocument* self = NewLC( aApp );
	CleanupStack::Pop( self );
	return self;
	}

CSmartCamDocument* CSmartCamDocument::NewLC( CEikApplication& aApp )
	{
	CSmartCamDocument* self =
		new ( ELeave ) CSmartCamDocument( aApp );

	CleanupStack::PushL( self );
	self->ConstructL();
	return self;
	}

void CSmartCamDocument::ConstructL()
	{
	// No implementation required
	}

CSmartCamDocument::CSmartCamDocument( CEikApplication& aApp )
	: CAknDocument( aApp )
	{
	// No implementation required
	}

CSmartCamDocument::~CSmartCamDocument()
	{
	// No implementation required
	}

CEikAppUi* CSmartCamDocument::CreateAppUiL()
	{
	// Create the application user interface, and return a pointer to it;
	// the framework takes ownership of this object
	return (  ( new ( ELeave ) CSmartCamAppUi ) );
	}

// End of File
